package com.xian.im.common.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 标记Spring MVC拦截器，会默认扫描该注解并添加
 * 使用 {@link org.springframework.core.annotation.Order} 指定拦截器顺序
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface SpringHandlerInterceptor {

    String[] includePatterns() default {};

    String[] excludepatterns() default {};

}
